<template>
  <div>
    <div>
      <div class="back" @click="back">后退</div>
      <div class="back" @click="$router.go(1)">前进</div>
      header
    </div>
    <div>用户详情</div>
    <div>用户id: {{ user.uid }}</div>
    <div>用户手机: {{ user.phone }}</div>
    <div>用户注册时间: {{ user.create_time_text }}</div>
  </div>
</template>

<script>
export default{
  data() {
    return {
      user: {},
    }
  },
  created() {
    const { phone, uid, create_time_text } = this.$route.query
    this.user = { phone, uid, create_time_text }
  },
  methods: {
    back() {
      this.$router.go(-1)
    },
  }
}
</script>

<style>
</style>
